<?php
/**
 * Address Block of the customer sheet
 */
use Fox\Common\Customer;
use Fox\Html\Input;
$block = new Fox\Html\Block("bAddress",Msg(Customer::BUNDLE_NAME,12));
$block->add(new Input(array("adress","street")));
$block->add(new Input("postal_code"));
$block->add(new Input("city"),2,"postal_code");
$block->add(new Input("phone1"));
$block->add(new Input("phone2"));
$block->add(new Input("faxnum"));
$block->add(new Input(array("email","email1")));
$block->autoWidth(null,array("postal_code"));
$block->collapsed(false);
return $block;